package com.ruoyi.web.controller.admin;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.module.vo.UserReportFormVo;
import com.ruoyi.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 报表管理模块Controller
 *
 * @author fubojin
 * @date 2024-12-17
 */
@RestController
@RequestMapping("/admin/reportForm")
public class AdminReportFormController extends BaseController
{
    @Autowired
    private ISysUserService sysUserService;

    /**
     * 查询信息列表
     */
    @GetMapping("/listUser")
    public TableDataInfo list(SysUser sysUser) {
        startPage();
        List<UserReportFormVo> list = sysUserService.selectReportFormUserList(sysUser);
        return getDataTable(list);
    }



}
